-- GENERATED SPELL FOR [En'kilah Gargoyle] --


function spell0_25387(pUnit, Event) --@Gargoyle Strike,n/a--
pUnit:FullCastSpellOnTarget(16564,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25387', 1500, 1)
end

function Sorts_25387(pUnit, Event)
local choix_sorts_25387 = math.random(0, 0)
if choix_sorts_25387 == 0 then
pUnit:RegisterEvent('spell0_25387', 1, 1)
end
end

function mob25387_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25387', math.random(1500, 3000), 1)
end

function mob25387_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25387_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25387_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25387, 1, 'mob25387_Action')
RegisterUnitEvent(25387, 2, 'mob25387_Leave')
RegisterUnitEvent(25387, 3, 'mob25387_Kill')
RegisterUnitEvent(25387, 4, 'mob25387_Die')
